﻿ <%@page import="java.util.ArrayList" %>
<%@page import="com.entity.GoodsEvaluate" %>
<%@page import="com.entity.GoodsType" %>
<%@page import="com.util.PublicToolShowDetailTypeList" %>
<%@page import="com.util.PublicToolGetTypeDetailInfo" %>
<%@page import="com.dao.GoodsTypeDetailInfoDAO" %>
<%@page import="com.entity.GoodsType" %>
<%@page import="com.entity.GoodsTypeDetail" %>
<%@page import="com.util.PublicToolCheckParam" %>
<%@page import="com.entity.SalesGoods" %>
<%@page import="com.util.PublicToolShowGooodsTypeList" %>
<%@page import="com.entity.BulletinInfo" %>

<%@page import="com.entity.GoodsInfo" %>
<%@page import="com.util.PublicToolIndexProductShow" %>
<%@page import="com.entity.GoodsTypeDetail" %>
<%@page import="com.entity.GoodsEvaluate" %>
<%@page import="com.util.PublicToolCheckParam" %>
<%@page import="com.entity.SalesGoods" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<%
    String email = (String) session.getAttribute("email");
    String thirdemail = (String) session.getAttribute("thirdemail");
%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=7">
    <title>北海市卫生学校附属医院在线挂号系统</title>
    <meta content="" name="keywords">
    <meta content="" name="description">
    <link href="./css/common.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="./js/base.js"></script>
    <script type="text/javascript" src="./js/menu.js"></script>
    <script type="text/javascript" src="./js/time.js"></script>
    <script type="text/javascript" src="./js/lb.js"></script>

    <script type="text/javascript">
        function checkLogin() {
            if ("<%=email%>" == "" || "<%=email%>" == "null") {
                alert("请先登陆!");
                return false;
            }
            else {
                top.location.href = "servlet/DoMethod?method=showMyInformation";
                return true;
            }
        }
        function checkUserLogin() {
            if ("<%=email%>" == "" || "<%=email%>" == "null") {
                alert("请先登陆!");
                return false;
            }
            else {
                top.location.href = "servlet/DoChatMethod?method=login";
                return true;
            }
        }
    </script>

    <!---reload-!-->
</head>
<body style="background:transparent url(images/bg.jpg) repeat scroll 0% 0%" onload="times()">
<div id="contain">

    <!-- 头 -->

    <jsp:include page="web/top.jsp" flush="true"/>

    <!-- 头 -->

    <!-- 第一部分内容 -->
    <div class="box">
        <!--  医院图片轮播 -->
        <div style=" margin-top:1px; width:630px;overflow:hidden; height: 350px;  float:left;	">
            <div id="advsheadlb">

                <img src="./images/3.jpg" border="0" class="advsheadlbpic" id="advsheadlbpic_2" style="display: none;">
                <img src="./images/1.jpg" border="0" class="advsheadlbpic" id="advsheadlbpic_0" style="display: none;">
                <img src="./images/2.jpg" border="0" class="advsheadlbpic" id="advsheadlbpic_1" style="display: inline;">

            </div>
        </div>
        <div style="height:350px; padding-right:5px; float:right; width:360px">

            <div style="font:14px/20px  Verdana,microsoft yahei,Arial; color:#505050;line-height:29px; ">
<p style=“text-indent:2em">北海市卫生学校附属医院地处合浦县城中心，是一所集临床医疗、教学、科研、预防、保健为一体的国家二级甲等综合性医院，是北海市和合浦县两级城镇职工医疗保险定点医院，合浦县新型农村合作医疗定点医院。
医院临床科室开设门诊部、急诊科、内科、外科、妇产科、儿科、五官科、口腔科、麻醉科、中医科、理疗科、感染性疾病科等；医技科室开设药剂科、放射科、CT室、检验科、输血科、功能科（B超、心电图、脑电图室、胃镜室、碎石室）、病理科等。
医院具有较强的技术力量，临床各科均衡发展，积极开展新技术新项目，拓宽服务领域。
医院以“高尚的医德，精湛的技术，艺术性的服务，规范的收费”为宗旨，真诚地为珠乡人民健康服务。</p>

</div>
        </div>
    </div>
    <!-- 第一部分内容 --> <%----%>
    <!-- 第二部分内容 -->
    <div class="box" style=" margin-top:1px; margin: 0px auto; background: url(images/pbg.gif);">
        <div class="left">
            <jsp:include page="web/left.jsp" flush="true"/>

        </div>
        <%--<div   class="right"> --%>

        <!-- 第二部分  -->
        <div style="width:365px;  float:left; ">
            <div class="boxtitlebg"> 网站公告
                <!-- <div style="float:right;width:60px;height:32px;margin-right:5px">
                    <a href="/product/class/" style="display:inline;font:14px/32px Verdana,microsoft yahei,Arial;color:#fff;">更多 &gt;&gt;</a>
                </div> -->
            </div>
            <div style=" width:365px; height:145px">

                <div class="newlist" style="padding-top:10px;padding-left: 10px">


                    <% ArrayList<BulletinInfo> bulletinList = (ArrayList<BulletinInfo>) request.getAttribute("bulletinList");
                        if (bulletinList != null) {
                            for (int i = 0; i < bulletinList.size(); i++) {
                                BulletinInfo bulletin = bulletinList.get(i);
                                String title = bulletin.getTitle();
                                String createTime = bulletin.getCreateTime();
                                if (title.length() > 11) {
                                    title = title.substring(0, 8) + "...";
                                }


                                out.println("<li  ><a href='servlet/ShowBulletinInfo?id=" + bulletin.getId() + "'>" + title + "</a> " + createTime + "</li>");
                            }
                        } else {
                            out.print("<li  ><font size='2' color='#666666'>暂无内容</font></li>");

                        }
                    %>


                </div>
            </div>

        </div><!-- 第二部分内容 --><!-- 更新网站公告  -->
        
        <!-- 第三部分内容-->
        <div style="width:383px;height:234px; float:right">
            <div class="boxtitlebg">专家信息</div>
            <div style="margin:0px;padding-left: 10px;  ">
                <div class="newlist" style="padding-top:10px">
                    <%

                        ArrayList<GoodsInfo> newGoodsInfoList = (ArrayList<GoodsInfo>) request.getAttribute("newGoodsInfoList");

                        if (newGoodsInfoList != null) {
                            for (int i = 0; i < newGoodsInfoList.size(); i++) {
                                GoodsInfo productShow1 = newGoodsInfoList.get(i);
                                String title = productShow1.getGoodsName();
                                String createTime = productShow1.getCreatedate();
                                if (title.length() > 11) {
                                    title = title.substring(0, 8) + "...";
                                }


                                out.println("<li><a href='servlet/ProductInfo?gid=" + productShow1.getGoodsId() + "'>" + title + "</a> " + createTime + "</li>");
                            }
                        } else {
                            out.print("<li><font size='2' color='#666666'>暂无内容</font></li>");

                        }
                    %> 
                </div>
            </div>
        </div>
    </div>
    <!-- 第三部分内容 --><!-- 发布专家信息-->

    <!--底部-->
    <jsp:include page="web/bottom.jsp" flush="true"/>

</div>
</body>
</html>



